package com.pos.clothes.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.springframework.stereotype.Component;

//规格类
@Component
public class Norms {
    private Integer id;
    @JsonIgnore
    private Integer idclothes;
    @JsonIgnore
    private Integer idcolor;
    @JsonIgnore
    private Integer idsize;

    private Integer price;
    private Integer remains;
    private String code;

    private Clothes clothes;
    private Color color;
    private Size size;
    private Category category;

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Clothes getClothes() {
        return clothes;
    }

    public void setClothes(Clothes clothes) {
        this.clothes = clothes;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdclothes() {
        return idclothes;
    }

    public void setIdclothes(Integer idclothes) {
        this.idclothes = idclothes;
    }

    public Integer getIdcolor() {
        return idcolor;
    }

    public void setIdcolor(Integer idcolor) {
        this.idcolor = idcolor;
    }

    public Integer getIdsize() {
        return idsize;
    }

    public void setIdsize(Integer idsize) {
        this.idsize = idsize;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getRemains() {
        return remains;
    }

    public void setRemains(Integer remains) {
        this.remains = remains;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
